package com.zb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName TbLearningCourseModel
 * @Description 模型对象
 * @Author zj
 * @Date 2022/11/25 09:45
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("tb_learning_course")
public class TbLearningCourseModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.UUID)
    private String id;

    private String courseId;

    private String userId;

    private String charge;

    private BigDecimal price;

    private String valid;

    private Date startTime;

    private Date endTime;

    private String status;


}
